#include" com.hpp"

int main()
{
    int shmid=GetShm();
    char* shmaddr=(char*)shmat(shmid,nullptr,0);
    sleep(5);
    
    shmdt(shmaddr);
    // log(Debug,"detach shm done,shmaddr:0x%x",shmdt);
    
    //删除共享内存
    //shmctl(shmid,IPC_RMID,nullptr);
    struct shmid_ds shmds;
      
    return 0;
}